Extracting Purely Functional Contents from Logical Inductive Types
نویسندگان
چکیده
We propose a method to extract purely functional contents from logical inductive types in the context of the Calculus of Inductive Constructions. This method is based on a mode consistency analysis, which veri es if a computation is possible w.r.t. the selected inputs/outputs, and the code generation itself. We prove that this extraction is sound w.r.t. the Calculus of Inductive Constructions. Finally, we present some optimizations, as well as the implementation designed in the Coq proof assistant framework.
منابع مشابه
Inductive and Functional Types in Ludics
Ludics is a logical framework in which types/formulas are modelled by sets of terms with the same computational behaviour. This paper investigates the representation of inductive data types and functional types in ludics. We study their structure following a game semantics approach. Inductive types are interpreted as least fixed points, and we prove an internal completeness result giving an exp...
متن کاملInductive representations of RDF graphs
RDF forms the basis of the semantic web technology stack. It is based on a directed graph model where nodes and edges are identified by URIs. Occasionally, such graphs contain literals or blank nodes. The existential nature of blank nodes complicates the graph representation. In this paper we propose a purely functional representation of RDF graphs using a special form of inductive graphs calle...
متن کاملGlobal semantic typing for inductive and coinductive computing
Inductive and coinductive types are commonly construed as ontological (Church-style) types, denoting canonical data-sets such as natural numbers, lists, and streams. For various purposes, notably the study of programs in the context of global (“uninterpreted”) semantics, it is preferable to think of types as semantical properties (Curry-style). Intrinsic theories were introduced in the late 199...
متن کاملModified Realizability and Inductive Types
In 1959, Kreisel introduced a notion of “modified” realizability that, among other things, provides an alternative technique to Gödel functional (dialectica) interpretation for establishing the connection between Peano Arithmetic and System T. While the dialectica interpretation has been widely studied in the literature, Kreisel’s technique, although remarkably simpler, has apparently been almo...
متن کاملInductive and Coinductive Session Types in Higher-Order Concurrent Programs
We develop a theory of inductive and coinductive session types in a computational interpretation of linear logic, enabling the representation of potentially infinite interactions in a compositionally sound way that preserves logical soundness, a major stepping stone towards a full dependent type theory for expressing and reasoning about session-based concurrent higher order distributed programs...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007